package com.smdk.dsminio.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (DsminioFolderInfo)表实体类
 *
 * @author 神秘的凯
 * @since 2020-11-11 17:10:25
 */
@Data
@ApiModel(value = "DsminioFolderInfo信息表")
@TableName("dsminio_folder_info")
public class DsminioFolderInfo extends Model<DsminioFolderInfo> {

    /**
     * 
     *ObjectID
     *
     */
    @ApiModelProperty(value = "folderId")
    @TableId(value = "folderId", type = IdType.ASSIGN_ID)
    private Long folderId;
    
    
   /**
    * 
    *ObjectList名称
    *
    */
    @ApiModelProperty(value = "ObjectList名称")
    private String folderName;
    
   /**
    * 
    *bucketId
    *
    */
    @ApiModelProperty(value = "bucketId")
    private Long bucketId;
    
   /**
    * 
    *父ObjectListID
    *
    */
    @ApiModelProperty(value = "父ObjectListID")
    private Long parentFolderId;
    
   /**
    * 
    *objectList排序
    *
    */
    @ApiModelProperty(value = "objectList排序")
    private Integer folderOrder;
    
   /**
    * 
    *数量
    *
    */
    @ApiModelProperty(value = "数量")
    private Integer fileCount;
    
   /**
    * 
    *大小
    *
    */
    @ApiModelProperty(value = "大小")
    private Long folderSize;
    
   /**
    * 
    *创建时间
    *
    */
    @ApiModelProperty(value = "创建时间")
    private Date createDataTime;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.folderId;
    }
    }